package com.mlnx.work.service.iml;

import com.mlnx.work.dao.mysql.TaskHandoverMapper;
import com.mlnx.work.entity.TaskHandover;
import com.mlnx.work.pojo.vo.TaskListVO;
import com.mlnx.work.service.TaskHandoverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author name: amanda.shan
 * create time: 2020-12-28 16:58:01
 */
@Service
public class TaskHandoverServiceIml extends BaseService<TaskHandoverMapper, TaskHandover> implements TaskHandoverService {

    @Autowired
    @Override
    public void setBaseMapper(TaskHandoverMapper baseMapper) {
        super.setBaseMapper(baseMapper);
    }

    @Override
    public List<TaskListVO> getByDeptId(Integer deptId) {
        return baseMapper.selectByDeptId(deptId);
    }
}

